<?php
/* @var $factory \Illuminate\Database\Eloquent\Factory */

use App\Models\Attachment;
use Faker\Generator as Faker;

$factory->define(Attachment::class, function (Faker $faker) {
    return [
        "name" => $faker->name,
        "description" => $faker->words(3, true),
        "type" => $faker->fileExtension,
        "size" => $faker->randomDigit,
        "filename" => $faker->slug
    ];
});
